package com.lf.console.example.nio;

import java.util.concurrent.Executor;

class DirectExecutor implements Executor {
     public void execute(Runnable r) {
         r.run();
     }
     
     public static void main(String[] args) {
		new DirectExecutor().execute(new Runnable() {
			public void run() {
				System.out.println("he is a good man!");
			}
		});
	}
 }